Skip to content

Add global keyboard shortcuts for analyze, clear, save, download - #1651

Open
111-Vaishali wants to merge 1 commit into
imDarshanGK:mainfrom
111-Vaishali:feature/keyboard-shortcuts
Open

Add global keyboard shortcuts for analyze, clear, save, download#1651
111-Vaishali wants to merge 1 commit into
imDarshanGK:mainfrom
111-Vaishali:feature/keyboard-shortcuts

Conversation

@111-Vaishali

Copy link
Copy Markdown

Closes #1593

Changes

  • Added global keyboard shortcuts (Ctrl+Enter, Ctrl+K, Ctrl+Shift+C, Ctrl+Shift+S, Ctrl+D, Shift+D)
  • Shortcuts work anywhere on the page, not just inside the code textarea
  • Existing textarea-scoped shortcuts (Escape, Ctrl+Enter) unchanged — no regressions
  • Added shortcuts list to README.md

Keyboard Shortcuts

  • Ctrl/Cmd + Enter — Analyze code
  • Ctrl/Cmd + K — Focus code input
  • Ctrl/Cmd + Shift + C — Clear
  • Ctrl/Cmd + Shift + S — Save to favorites
  • Ctrl/Cmd + D — Download result
  • Shift + D — Toggle theme

Testing

  • Manually tested all shortcuts in Chrome via DevTools
  • Confirmed existing textarea shortcuts still work correctly

@imDarshanGK imDarshanGK left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@111-Vaishali add a video demo showcasing the working feature.

@github-actions

Copy link
Copy Markdown

👋 This PR has had no activity for 7 days.

Please push updates or comment if you still need more time.

Inactive PRs may be closed automatically after 7 more days.

@github-actions github-actions Bot added the stale label Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add keyboard shortcuts to frontend script (v2)

2 participants